package pojo.product;

import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;

/**
 * @author Limohan
 */
public class ProductTypeProperty {
    private final StringProperty type = new SimpleStringProperty();
    private final StringProperty id = new SimpleStringProperty();

    public ProductTypeProperty() {
    }

    public String getId() {
        return id.get();
    }

    public StringProperty idProperty() {
        return id;
    }

    public void setId(String id) {
        this.id.set(id);
    }

    public String getType() {
        return type.get();
    }

    public StringProperty typeProperty() {
        return type;
    }

    public void setType(String type) {
        this.type.set(type);
    }
}
